package com.briup.estore.bean;

import java.math.BigInteger;
import java.util.Date;

import org.apache.ibatis.type.Alias;

import lombok.Data;

@Alias("Book")
@Data
public class Book {
//	 ID                                        NOT NULL NUMBER(12)
//	 NAME                                      NOT NULL VARCHAR2(255)
//	 PRICE                                     NOT NULL NUMBER(7,2)
//	 AUTHOR                                             VARCHAR2(100)
//	 PUBLISHER                                          VARCHAR2(100)
//	 PUBDATE                                            DATE
//	 DESCRIPTION                                        VARCHAR2(255)
//	 CATEGORY_ID                                        NUMBER(7)
//	 IMAGES                                             VARCHAR2(100)
//	 CLICK                                              NUMBER

	private BigInteger id;
	private String name;
	private Double price;
	private String author;
	private String publisher;
	private Date pubdate;
	private String description;
	private BigInteger category_id;
	private String images;
	private BigInteger click;

	private Category category;
}
